import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import "./assets/font/iconfont.css"
import 'vant/lib/icon/local.css';
import jsCookie from 'js-cookie'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import { Calendar } from 'vant';






Vue.prototype.$cookie = jsCookie;
Vue.config.productionTip = false

// form表单引入
import { Form } from 'vant';
import { Field } from 'vant';
Vue.use(Form);
Vue.use(Field);
import { Icon } from 'vant';
Vue.use(Icon);
import { Button } from 'vant';
Vue.use(Button);
// tabbar栏
import { Tabbar, TabbarItem } from 'vant';
Vue.use(Tabbar);
Vue.use(TabbarItem);
import { Picker } from 'vant';
Vue.use(Picker);

Vue.use(ElementUI);
//加载
import infiniteScroll from 'vue-infinite-scroll'
Vue.use(infiniteScroll)
import { Loading } from 'vant';
Vue.use(Loading);
//轮播图
import { Swipe, SwipeItem } from 'vant';
Vue.use(Swipe);
Vue.use(SwipeItem);
import { Lazyload } from 'vant';
Vue.use(Lazyload);

import { Switch } from 'vant';
Vue.use(Switch);
import { Tab, Tabs } from 'vant';
Vue.use(Tab);
Vue.use(Tabs);

import { Uploader } from 'vant';
Vue.use(Uploader);

import { List } from 'vant';
Vue.use(List);

// 单选框
import { RadioGroup, Radio } from 'vant';
Vue.use(Radio);
Vue.use(RadioGroup);
// 轻提示
import { Toast } from 'vant';
Vue.use(Toast);
import VueClipBoard from 'vue-clipboard2'
Vue.use(VueClipBoard)
// 日期
import { DatetimePicker } from 'vant';
Vue.use(DatetimePicker);
//弹窗
import { Popup } from 'vant';
Vue.use(Popup);
// 下拉刷新
import { PullRefresh } from 'vant';
Vue.use(PullRefresh);

// 引入echarts
import echarts from 'echarts'
Vue.prototype.$echarts = echarts

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
